if(NOT ARCH_)
    set(ARCH_ "unknown")
endif ()
if(NOT OS_)
    set(OS_ "unknown")
endif ()

if(NOT SOC_)
    set(SOC_ "unknown")
endif ()

add_compile_definitions(
        #arch
        arc_x86_64=10
        arc_aarch64=11
        #os
        LINUX=20
        ANDROID=21
        QNX=22
        #soc
        NV=30
        NV_Xavier=31
        NV_Orin=32
        QCOM=33
        QCOM_8155=34
        QCOM_8255=35

        ARCH_=${ARCH_}
        OS_=${OS_}
        SOC_=${SOC_}
)